package com.example.myapplication.soaprequest.response

import org.simpleframework.xml.Element
import org.simpleframework.xml.ElementUnion

/**
 * 请求结果response 类
 */
class SoapResponseBody {
    @field:ElementUnion(
        // 查询帐套
        Element(name = "accsetResponse", type = ResultResponse::class, required = false),
        // 检验手机注册
        Element(name = "accsetsaasResponse", type = ResultResponse::class, required = false),
        //  地区表
        Element(name = "arealistResponse", type = ResultResponse::class, required = false),
        //  登录
        Element(name = "loginResponse", type = ResultResponse::class, required = false),
        // 私有云手机验证
        Element(
            name = "getmboileclientreginfoResponse",
            type = ResultResponse::class, required = false
        ),
        // 公告标题列表
        Element(
            name = "broadcastpromptResponse",
            type = ResultResponse::class, required = false
        ),
        // 公告详细列表
        Element(
            name = "broadcastpromptxxResponse",
            type = ResultResponse::class, required = false
        ),
        // 公司公告
        Element(
            name = "broadcastResponse",
            type = ResultResponse::class, required = false
        ),
        // 公司公告详情
        Element(
            name = "broadcastxxResponse",
            type = ResultResponse::class, required = false
        ),
        // 签到
        Element(
            name = "registerwriteResponse",
            type = ResultResponse::class, required = false
        ),
        // 客户信息
        Element(
            name = "clientlistResponse",
            type = ResultResponse::class, required = false
        ),
        // 个人日程
        Element(
            name = "rcpromptlistResponse",
            type = ResultResponse::class, required = false
        ),
        // 个人日程详情
        Element(
            name = "rcpromptxxResponse",
            type = ResultResponse::class, required = false
        ),
        // 保存个人日程详情
        Element(
            name = "rcpromptsaveResponse",
            type = ResultResponse::class, required = false
        ),
        // 删除
        Element(
            name = "deldataResponse",
            type = ResultResponse::class, required = false
        ),
        // 获取计划信息
        Element(
            name = "getjhblistResponse",
            type = ResultResponse::class, required = false
        ),
        // 获取计划信息详情
        Element(
            name = "getjhbxxResponse",
            type = ResultResponse::class, required = false
        ),
        // 预约拜访
        Element(
            name = "jhrwyybfResponse",
            type = ResultResponse::class, required = false
        ),
        // 售后拜访
        Element(
            name = "jhrwshhfResponse",
            type = ResultResponse::class, required = false
        ),
        // 字典
        Element(
            name = "datadictResponse",
            type = ResultResponse::class, required = false
        ),
        // 区域
        Element(
            name = "areatypelistResponse",
            type = ResultResponse::class, required = false
        ),
        // 客户管理列表
        Element(
            name = "jhrwzdyResponse",
            type = ResultResponse::class, required = false
        ),
    )
    var value: ResultResponse = ResultResponse()
}